PWD := $(shell pwd)
TOP := $(PWD)/..

PREFIX?=$(TOP)/inst

SUBDIRS=\
	user_guide \
	libraries_ref_guide \
	BSV_ref_guide \
	BH_ref_guide \

.PHONY: all
all: install

.PHONY: install clean full_clean
install clean full_clean:
	for d in $(SUBDIRS) ; do \
		$(MAKE)  -C $$d  PREFIX=$(PREFIX)  $@ || exit 1 ; \
		done
